package dao;

import java.sql.SQLException;
import java.util.List;

import vo.User;

public interface UserDao {

	public void save(User user) throws SQLException;

	public int delete(int id) throws SQLException;

	public int update(User user) throws SQLException;

	public User findById(int id) throws SQLException;

	public List<User> find() throws SQLException;

	public boolean find(String username, String password) throws SQLException;

}
